<style type="text/css">
				th {
				font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica,sans-serif;
				color: #6D929B;
			
				letter-spacing: 2px;
				text-transform: uppercase;
				text-align: left;
				padding: 6px 6px 6px 12px;
				background: #CAE8EA;
				}
				td {
				

                background: #ffffff;

                padding: 6px 6px 6px 12px;

                color: #6D929B;
				}
				<link rel="shortcut icon" href="http://www.wittysparks.com/wp-content/themes/wp-max/favicon.ico" />
<style type="text/css">

.formarea {
	background-color: #FFFFFF;
	width: 800px;
	margin-top: 50px;
	margin-right: auto;
	margin-bottom: 50px;
	margin-left: auto;
	position: relative;
	padding: 25px;
	border: 1px solid #CCCCCC;
	font-size: 12px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #FFFFFF;
}
body, td, th {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}
.formarea h2 {
	line-height: 100%;
	color: #0085DD;
	margin: 0px 0px 10px 0px;
	font-size: 20px;
}
.formarea h3 {
	line-height: 100%;
	color: #333333;
	margin: 10px 0px;
	font-size: 15px;
	font-weight: normal;
}
.formarea p {
	padding: 10px 0px;
	color:#666666
}
.formarea .subfieldsset {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-top-width: 3px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #FFDBA4;
	border-right-color: #FFDBA4;
	border-bottom-color: #FFDBA4;
	border-left-color: #FFDBA4;
	background-color: #FFEBD9;
	padding: 10px;
}
.formarea .subfieldsset div {
	padding: 3px 0px;
	clear:both;
}
.formarea .subfieldsset div label {
	position:relative;
	display:block;
	text-align:right;
	margin:0px 10px 0px 0px;
	padding:3px 10px 0px 0px;
	width:150px;
	cursor:pointer;
	float:left;
	line-height: 18px;
}
.formarea .subfieldsset div .labelsmall {
	width:auto;
}
input, select, textarea {
	float:inherit;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 16px;
	padding:2px;
	border: 1px solid #999999;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	margin: 3px 3px 3px 3px;
}
input.error, select.error, textarea.error {
	background-color: #FFDFDF;
	border: 1px solid #FF0000;
}
input:hover, select:hover, textarea:hover {
	background-color: #FFFF99
}
span.required {
	color:#FF0000;
}
span.hint {
	font-size: 10px;
}
span.note {
	font-size: 11px;
	display:block;
	color:#666666;
	float:left;
}
.buttonsarea {
	margin: 10px 0px 0px 0px;
	clear:both;
}
.buttonsarea input {
	padding: 5px 10px;
	border: 1px solid #52FF20;
	-moz-border-radius-topleft: 10px;
	-webkit-border-top-left-radius: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 0px;
	-webkit-border-bottom-right-radius: 0px;
	/*
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	*/
}
.buttonsarea input:hover {
	background-color:#FFEBD9;
	border: 1px solid #000;
}
br {
	clear:both;
}
.requiredfld {
	float: right;
}
.formarea .subfieldsset div.error {	
	display:block;
	padding: 10px 10px 10px 35px;
	background-color: #FFDFDF;
	border: 1px solid #FF0000;
	border-top-width: 3px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background-image: url(images/24-message-warn.gif);
	background-position: 5px 5px;
	background-repeat: no-repeat;
	margin-bottom: 10px;
}

.formarea .subfieldsset div.information {	
	display:block;
	padding: 10px 10px 10px 35px;
	background-color: #e0ebf6;
	border: 1px solid #72a6d6;
	border-top-width: 3px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background-image: url(images/24-message-info.gif);
	background-position: 5px 5px;
	background-repeat: no-repeat;
	margin-bottom: 10px;
}
/*
    * -moz-border-radius-topleft  / -webkit-border-top-left-radius
    * -moz-border-radius-topright / -webkit-border-top-right-radius
    * -moz-border-radius-bottomleft / -webkit-border-bottom-left-radius
    * -moz-border-radius-bottomright / -webkit-border-bottom-right-radius
*/

</style>
<?
	$value = array(
		'id_uji' => "",
		'tanggal_uji'	=> "",
		'LAPL'				=> "",
		'IPA_LINDI'			=> "",
		'IPLT'				=> "",
		'act_form'			=> "uji_lab/uji_lab/insert_uji_lab/"
	);
	
	if ($status == 'edit')
	{
		$value['id_uji'] = $id_uji;
		$value['tanggal_uji'] = $tanggal_uji;
		$value['LAPL'] = $LAPL;
		$value['IPA_LINDI'] = $IPA_LINDI;
		$value['IPLT'] = $IPLT;
		$value['act_form'] = "uji_lab/uji_lab/update_uji_lab/".$value['id_uji'];
	}
?>

<script type="text/javascript" src="<?= base_url() ?>datepicker.js"></script>
<link rel="stylesheet" type="text/css" href="<?= base_url() ?>datepicker.css" media="screen, tv, projection" title="Default" />

<?= form_open($value["act_form"]); ?>
	<div id="page">
		<div id="content">
			<div class="box">
            <h3>Form <? echo $title?></h3>
			  <table border="0" cellpadding="0" cellspacing="0"  width="100%"><td width="auto" bgcolor="#D6D6D6">
				<label>ID Uji Laboratorium*</label>
				<td><input name="id_uji" type="text" id="id_uji" class="numbers-only" value="<?=$value['id_uji'];?>" size="7" maxlength="10" /></td>
				<td><?php echo form_error('id_uji');?> </td>
			<tr>
			<td>
				<label>Tanggal Uji Laboratorium*</label></td>
				<td><input type="text" id="tanggal_uji" class="datepicker" name="tanggal_uji" value="<?=$value['tanggal_uji'];?>" /> </td>
				<td><? echo form_error('tanggal_uji');?> </td>
			</tr>

			<tr>
			<td>
				<label>LAPL</label></td>
				<td><textarea name="LAPL" id="LAPL" rows="3" cols="50" style="resize: none;"><?=$value['LAPL'];?></textarea>
			</td></tr>
			<tr>
			<td>
				<label>IPA LINDI</label></td>
				<td><textarea name="IPA_LINDI" id="IPA_LINDI" rows="3" cols="50" style="resize: none;"><?=$value['IPA_LINDI'];?></textarea>
			</td></tr>
			<td>
				<label>IPLT</label></td>
				<td><textarea name="IPLT" id="IPLT" rows="3" cols="50" style="resize: none;"><?=$value['IPLT'];?></textarea>
			</td></tr>
			
			<td colspan="2"><p class="submit">
				<button type="submit" class="date" id="registerButton">Simpan</button>&nbsp;
			  <button type="reset" class="date" id="resetButton">Reset</button>&nbsp;
			  <button type="reset" class="date" id="backButton" ONCLICK="window.location.href='<?=base_url();?>/index.php/uji_lab/uji_lab'">Kembali</button>		      
			  </p>			</td>
			</table>
		</div>
		</div>
	</div>	
	<?php
echo form_close();
?>



